Press
|
To
|
|---|---|
CTRL+SPACE
|
Open the Java code completion list box with matching entries. (Press ENTER to complete the word and close the list box).
|
CTRL+SHIFT+SPACE
|
Open the SmartType code completion list box with matching entries. (Press ENTER to complete the word and close the list box).
|
CTRL+ALT+SPACE
|
Open the ClassName code completion list box with matching entries. (Press ENTER to complete the word and close the list box).
|
CTRL+B
|
Go to the element declaration. For this shortcut to work properly, the source file must be in a directory accessible in the project sourcepath.
|
CTRL+SHIFT+B
|
Open the source of the type of the element under the caret. For this shortcut to work properly, the source file must be in a directory accessible in the project sourcepath.
|
CTRL+SHIFT+U
|
Open the source of the method that the current method overrides or implements. For this shortcut to work properly, the source file must be in a directory accessible in the project sourcepath.
|
SHIFT+F1
|
Open the external web browser on the Javadoc file pertaining to the item that the caret is on. For this shortcut to work properly, the source file must be in a directory accessible in the project sourcepath.
In addition, the JavaDoc documentation for that source must be accessible in the project JavaDoc paths.
|
CTRL+/
|
Comment out the current line or selected lines of code with the line comment or remove the comment if already commented.
|
CTRL+SHIFT+/
|
Comment out the selected block of code with the block comment.
To remove the comment, simply press the shortcut inside the commented block without selecting it.
|
CTRL+O
|
Insert stubs for methods, overriding base class methods in the current class.
|
CTRL+I
|
Insert stubs for methods, implementing base class/interface methods in the current class.
|
CTRL+ALT+T
|
Surround selected code fragment with try/catch construct. Generates catch statements for all checked
exceptions thrown by the selected block.
|
CTRL+Q
|
Shows the popup window with brief information on the element under the caret.
|
CTRL+P
|
Shows the popup window with information about parameters of the method call under the caret.
|